﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace _0812159_0812164.pojo
{
    public class Share
    {
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string src;

        public string Src
        {
            get { return src; }
            set { src = value; }
        }
        private string des;

        public string Des
        {
            get { return des; }
            set { des = value; }
        }
        private int location;

        public int Location
        {
            get { return location; }
            set { location = value; }
        }
        private int state;
        //-1: hủy
        // 0: chờ
        // 1: chấp nhận
        public int State
        {
            get { return state; }
            set { state = value; }
        }

        public Share() { }

        public Share(string src, string des, int idLocation) {
            this.src = src;
            this.des = des;
            this.location = idLocation;
        }
    }
}
